<!doctype html>
<html lang="zh-cn" ng-app="service-center" ng-controller="mainCtrl">
<head>
    <meta charset="UTF-8">
    <title ng-bind="I18N.SYSNAME"></title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">

    <link href="../shared/lib/jquery/sweet-alert/sweet-alert.css" rel="stylesheet"/>
    <link href="../shared/lib/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link href="../shared/lib/kendo/styles/kendo.material.min.css" rel="stylesheet">
    <link href="../shared/lib/kendo/styles/kendo.common-material.min.css" rel="stylesheet">

    <script src="../shared/lib/jquery/jquery.min.js"></script>
    <script src="../shared/lib/jquery/sweet-alert/sweet-alert.js"></script>
    <script src="../shared/lib/bootstrap/js/bootstrap.js"></script>
    <script src="../shared/lib/angular/angular/angular.js"></script>
    <script src="../shared/lib/angular/angular/angular-cookies.js"></script>
    <script src="../shared/lib/angular/angular-ui-router/angular-ui-router.js"></script>
    <script src="../shared/lib/angular/angular-file-upload/angular-file-upload.min.js"></script>
    <script src="../shared/lib/kendo/js/kendo.all.min.js"></script>

    <script src="../shared/lib/kendo/js/cultures/kendo.culture.zh-CN.min.js"></script>
    <script src="../shared/lib/kendo/js/messages/kendo.messages.zh-CN.min.js"></script>

    <script type="text/javascript" src="../shared/lib/angular/angular-local-storage/angular-local-storage.js"></script>

    <link rel="stylesheet" href="../shared/css/shared.css"/>
    <link rel="stylesheet" href="../shared/css/kendo-override.css"/>
    <script src="../shared/scripts/shared.js"></script>


    <!-- build:css css/service-center.min.css -->
    <link href="css/service-center.css" rel="stylesheet"/>
    <link ng-if="lang == 'en'" href="../shared/css/en.css" rel="stylesheet"/>
    <!-- endbuild -->

    <!-- build:js service-center.min.js -->
    <script src="app.js"></script>
    <script src="templates.js"></script>
    <script src="router.js"></script>
    <script src="controllers/main-ctrl.js"></script>
    <script src="controllers/param-ctrl.js"></script>
    <script src="controllers/status-ctrl.js"></script>
    <!-- endbuild -->


</head>
<body>
<div class="f-head">
    <div class="f-logo">
        {{I18N.SYSNAME}}
    </div>
    <ul class="f-menu-item">
        <li>
            <a class="ajax-link" ui-sref="param" ng-class="{'active':'param'===checked}"
               ng-click="events.menuItemClickEvt('param')">{{i18n.configServiceParam}}</a>
        </li>
        <li>
            <a class="ajax-link" ui-sref="status"
               ng-class="{'active':'status'===checked}" ng-click="events.menuItemClickEvt('status')">{{i18n.checkServiceStatus}}</a>
        </li>
    </ul>

    <span class="login-info">
        <a title="{{role.userName}}" class="name">{{role.userName}}</a>
        <a data-toggle="modal" data-target="#mdfpswd-div">{{I18N.MDYPWD}}</a>
        <a ng-click="events.quit()">{{I18N.LOGOUT}}</a>
    </span>
    <!--该版本屏蔽中英文一键切换功能-->
    <!--<div class="btn-group local">-->
        <!--<button type="button" class="btn btn-link dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"-->
                <!--aria-expanded="false">-->
            <!--{{lang==='zh'?I18N.ZH:I18N.EN}}-->
            <!--<span class="caret"></span>-->
        <!--</button>-->
        <!--<ul class="dropdown-menu">-->
            <!--<li><a href="#" ng-click="events.changeLanguage('zh')">{{I18N.ZH}}</a></li>-->
            <!--<li><a href="#" ng-click="events.changeLanguage('en')">{{I18N.EN}}</a></li>-->
        <!--</ul>-->
    <!--</div>-->
</div>


<!-- Large modal -->
<div id="mdfpswd-div" class="modal fade " role="dialog" data-backdrop="static">
    <div class="modal-dialog ">
        <div class="modal-content">
            <div class="title">{{I18N.MDYPWD}}</div>
            <table>
                <tr class="errmsg" ng-show="errMsg">
                    <td></td>
                    <td class="btns">
                        <span><f-errormessage>{{errMsg}}</f-errormessage></span>
                    </td>
                </tr>
                <tr>
                    <td>{{I18N.OLD_PASSWORD}}</td>
                    <td><input type="password" ng-model="info.oldPwd"/></td>
                </tr>
                <tr>
                    <td>{{I18N.NEW_PASSWORD}}</td>
                    <td><input type="password" ng-model="info.newPwd"/></td>
                </tr>
                <tr>
                    <td>{{I18N.ENSURE_PASSWORD}}</td>
                    <td><span class="tip">{{I18N.TIP.t10}}</span><input type="password" ng-model="info.ensurePwd"/>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td class="btns">
                        <button class="btn okbtn" ng-click="events.modifyPsw()">{{I18N.OK}}</button>
                        <button class="btn cancelbtn" data-dismiss="modal" data-target="#mdfpswd-div">
                            {{I18N.CANCEL}}
                        </button>
                    </td>
                </tr>
            </table>

        </div>
    </div>
</div>

<!-- main controller -->
<div class="main-container" ui-view></div>
</body>
</html>